package com.api;

import com.entity.TokenEntity;

public interface UserService {
    Integer register(String email, String password, String code);

    boolean isRegistered(String email);

    TokenEntity login(String email, String password);

    TokenEntity info(String token);
}
